package com.maozzi.api.es.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author maozi
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EsDTO implements Serializable {
	/**
	 * 唯一标识
	 */
	private String id;

	/**
	 * 标题
	 */
	private String title;

	@Override
	public String toString() {
		return "EsDTO{" +
				"id='" + id + '\'' +
				", title='" + title + '\'' +
				'}';
	}
}
